//
//  AdvancedStepViewController.m
//  LineByLine
//
//  Created by 병철 김 on 11. 11. 17..
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import "AdvancedStepViewController.h"
#import "Step3_2SpeakingAllView.h"
#import "CommonDefine.h"


@implementation AdvancedStepViewController

- (void)configView {
    /** draw table view */
    speakingView = [[Step3_2SpeakingAllView alloc] initWithFrame:CGRectMake(0, 0, kContentWidth, kContentHeight)];
    [speakingView setDataSource:self];
    [speakingView setViewDelegate:self];
    [self.view addSubview:speakingView];
    [speakingView release];
}

- (void)viewWillDisappear:(BOOL)animated {
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque];
    [self.navigationController.navigationBar setBarStyle:UIBarStyleDefault];
    [self.navigationController setNavigationBarHidden:NO];
    [self.navigationController setToolbarHidden:YES];
    
    if ([self hasMedia]) {
        [[AudioManager sharedAudioManager] closePlayer];
    }
}

@end
